-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make sure timer based tests pass in firefox as well #590
Conversation
Hi @mweststrate , Here is the test output:
If you could guide to how to run the specific test & debug it I will be happy to help. |
@yosiat it is a bit tricky, you can add a debugger statement to your tests, but you have to make sure you open the devtools quickly enough when the tests start (or at a delay in front) to be able to get at the breakpoint. Pinpointing which tests exactly fail would already be really useful ( |
@mweststrate is there a way to run only "autorunAsync passes Reaction as an argument to view function" so I can debug it with console.log? |
@mweststrate when I run only this test, it finishes instantly, but when I ran it with the all tests it hangs forever. I will try to debug it using "debugger" |
@mweststrate I can't reproduce it for some reason.. but I found something interesting in the tape documentation:
https://github.com/substack/tape This might be the reason for those rare hangs, |
PR would be appreciated :) there is suppossed to be a t.end() everywhere Op ma 3 okt. 2016 om 12:21 schreef Yosi Attias [email protected]:
|
@mweststrate I finally found what is the strange thing that happens here.. I changed the autorunAsync test to logs when we enter setTimeout and when we finishes, and I found that only one/two setTimeout is called and not all timers are called. When the tests are stuck I open safari dev tools and I see that the tests actually finishes |
Merged into |
can someone verify that the tests now succeed in safari as well?
npm run test-browser-safari
thanks!